<% for task in @contest.tasks %>
    <%= link_to("#{task.title}", :action => 'show_task', :id => @contest.id, :task_id => task.id) %><br />
<% end %>